package com.mall.search.service;

import com.mall.search.model.SkuEs;

import java.util.Map;

public interface SkuSearchService {



    /**
     * @description: 查询结果
     * @author:
     * @time: 2021/9/9 12:20
     * @param searchMap
     * @return: java.util.Map<java.lang.String,java.lang.Object>
     */
    Map<String,Object> search(Map<String,Object> searchMap);

    /**
     * @description:  添加索引
     * @author:
     * @time: 2021/9/8 21:42
     * @param skuEs
     * @return: void
     */
    void add(SkuEs skuEs);



    /**
     * @description: 删除索引
     * @author:
     * @time: 2021/9/8 21:40
     * @param key
     * return: void
     */
    void delete(String key);

}
